<?php 

namespace frontend\models;

use yii\db\ActiveRecord;


class Resume extends ActiveRecord
{  
    //规则
    public function rules()
    {
        return [
            [['HaveWorkExpress','CompanyName', 'JobTitle', 'WorkDateStart', 'WorkDateEnd', 'Salary', 'WorkDescription', 'EducationLevel', 'IsTongZhao', 'EduDateStart', 'EduDateEnd', 'SchoolName', 'MajorName', 'DesiredEmploymentType', 'DesiredCityName', 'DesiredJobTypeName', 'DesiredSalaryScope', 'CurrentCareerStatus'], 'required'],
            // [['WorkDateStart'], 'default', 'value' => null],
            // [['WorkDateEnd'], 'default', 'value' => null],
        ];
    }
}
 ?>